package com.poetry.common.exception;

import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;

/**
 * 业务异常
 */
@AllArgsConstructor
@NoArgsConstructor
public class ServiceException extends RuntimeException {

    private String message;

    @Override
    public String getMessage() {
        return message;
    }
}
